package com.lc.zpyh.http.response;

import java.util.List;

public class SearchCommodityBean {


    /**
     * costTime : 391
     * msg : 操作成功
     * list : [{"merchantId":126,"canteenId":89,"canteenName":"测试部-食堂","merchantName":"丁大厨","merchantImg":"file/2021/08/05/51804297dff64255ace29baf615752f8.png","sales":77,"capite":0,"logo":"file/2021/08/11/27e10867d5e447699edeff1fcf8cbd3a.jpg","merchantActivitys":[{"creditFor":1700,"meetTheConditions":3500,"couponId":81}],"status":0,"schoolId":38,"commodity":[{"commodityId":115,"classifyId":91,"commodityName":"老式锅包肉","price":3200,"prePrice":100,"img":"file/2021/08/06/3290f7bfff1e4ed78ba918b1e61de111.png","merchantId":126,"inventory":98,"sales":1,"time":"2021-08-06T10:02:24.000+0800","isSoldOut":1,"schoolId":38,"canteenId":89,"key":"searchCache115:老式锅包肉"}]}]
     * code : 0
     */

    private Integer costTime;
    private String msg;
    private Integer code;
    private List<ListBean> list;

    public Integer getCostTime() {
        return costTime;
    }

    public void setCostTime(Integer costTime) {
        this.costTime = costTime;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * merchantId : 126
         * canteenId : 89
         * canteenName : 测试部-食堂
         * merchantName : 丁大厨
         * merchantImg : file/2021/08/05/51804297dff64255ace29baf615752f8.png
         * sales : 77
         * capite : 0.0
         * logo : file/2021/08/11/27e10867d5e447699edeff1fcf8cbd3a.jpg
         * merchantActivitys : [{"creditFor":1700,"meetTheConditions":3500,"couponId":81}]
         * status : 0
         * schoolId : 38
         * commodity : [{"commodityId":115,"classifyId":91,"commodityName":"老式锅包肉","price":3200,"prePrice":100,"img":"file/2021/08/06/3290f7bfff1e4ed78ba918b1e61de111.png","merchantId":126,"inventory":98,"sales":1,"time":"2021-08-06T10:02:24.000+0800","isSoldOut":1,"schoolId":38,"canteenId":89,"key":"searchCache115:老式锅包肉"}]
         */

        private Integer merchantId;
        private Integer canteenId;
        private String canteenName;
        private String merchantName;
        private String merchantImg;
        private Integer sales;
        private Double capite;
        private String logo;
        private Integer status;
        private Integer schoolId;
        private List<MerchantActivitysBean> merchantActivitys;
        private List<CommodityBean> commodity;

        public Integer getMerchantId() {
            return merchantId;
        }

        public void setMerchantId(Integer merchantId) {
            this.merchantId = merchantId;
        }

        public Integer getCanteenId() {
            return canteenId;
        }

        public void setCanteenId(Integer canteenId) {
            this.canteenId = canteenId;
        }

        public String getCanteenName() {
            return canteenName;
        }

        public void setCanteenName(String canteenName) {
            this.canteenName = canteenName;
        }

        public String getMerchantName() {
            return merchantName;
        }

        public void setMerchantName(String merchantName) {
            this.merchantName = merchantName;
        }

        public String getMerchantImg() {
            return merchantImg;
        }

        public void setMerchantImg(String merchantImg) {
            this.merchantImg = merchantImg;
        }

        public Integer getSales() {
            return sales;
        }

        public void setSales(Integer sales) {
            this.sales = sales;
        }

        public Double getCapite() {
            return capite;
        }

        public void setCapite(Double capite) {
            this.capite = capite;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public Integer getSchoolId() {
            return schoolId;
        }

        public void setSchoolId(Integer schoolId) {
            this.schoolId = schoolId;
        }

        public List<MerchantActivitysBean> getMerchantActivitys() {
            return merchantActivitys;
        }

        public void setMerchantActivitys(List<MerchantActivitysBean> merchantActivitys) {
            this.merchantActivitys = merchantActivitys;
        }

        public List<CommodityBean> getCommodity() {
            return commodity;
        }

        public void setCommodity(List<CommodityBean> commodity) {
            this.commodity = commodity;
        }

        public static class MerchantActivitysBean {
            /**
             * creditFor : 1700
             * meetTheConditions : 3500
             * couponId : 81
             */

            private Integer creditFor;
            private Integer meetTheConditions;
            private Integer couponId;

            public Integer getCreditFor() {
                return creditFor;
            }

            public void setCreditFor(Integer creditFor) {
                this.creditFor = creditFor;
            }

            public Integer getMeetTheConditions() {
                return meetTheConditions;
            }

            public void setMeetTheConditions(Integer meetTheConditions) {
                this.meetTheConditions = meetTheConditions;
            }

            public Integer getCouponId() {
                return couponId;
            }

            public void setCouponId(Integer couponId) {
                this.couponId = couponId;
            }
        }

        public static class CommodityBean {
            /**
             * commodityId : 115
             * classifyId : 91
             * commodityName : 老式锅包肉
             * price : 3200
             * prePrice : 100
             * img : file/2021/08/06/3290f7bfff1e4ed78ba918b1e61de111.png
             * merchantId : 126
             * inventory : 98
             * sales : 1
             * time : 2021-08-06T10:02:24.000+0800
             * isSoldOut : 1
             * schoolId : 38
             * canteenId : 89
             * key : searchCache115:老式锅包肉
             */

            private Integer commodityId;
            private Integer classifyId;
            private String commodityName;
            private Integer price;
            private Integer prePrice;
            private String img;
            private Integer merchantId;
            private Integer inventory;
            private Integer sales;
            private String time;
            private Integer isSoldOut;
            private Integer schoolId;
            private Integer canteenId;
            private String key;

            public Integer getCommodityId() {
                return commodityId;
            }

            public void setCommodityId(Integer commodityId) {
                this.commodityId = commodityId;
            }

            public Integer getClassifyId() {
                return classifyId;
            }

            public void setClassifyId(Integer classifyId) {
                this.classifyId = classifyId;
            }

            public String getCommodityName() {
                return commodityName;
            }

            public void setCommodityName(String commodityName) {
                this.commodityName = commodityName;
            }

            public Integer getPrice() {
                return price;
            }

            public void setPrice(Integer price) {
                this.price = price;
            }

            public Integer getPrePrice() {
                return prePrice;
            }

            public void setPrePrice(Integer prePrice) {
                this.prePrice = prePrice;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public Integer getMerchantId() {
                return merchantId;
            }

            public void setMerchantId(Integer merchantId) {
                this.merchantId = merchantId;
            }

            public Integer getInventory() {
                return inventory;
            }

            public void setInventory(Integer inventory) {
                this.inventory = inventory;
            }

            public Integer getSales() {
                return sales;
            }

            public void setSales(Integer sales) {
                this.sales = sales;
            }

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public Integer getIsSoldOut() {
                return isSoldOut;
            }

            public void setIsSoldOut(Integer isSoldOut) {
                this.isSoldOut = isSoldOut;
            }

            public Integer getSchoolId() {
                return schoolId;
            }

            public void setSchoolId(Integer schoolId) {
                this.schoolId = schoolId;
            }

            public Integer getCanteenId() {
                return canteenId;
            }

            public void setCanteenId(Integer canteenId) {
                this.canteenId = canteenId;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }
        }
    }
}
